Skip to content

feat: Add .NET 8.0 support for Oracle persistence provider and improve test infrastructure #1369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

henriquepagno
Copy link
Contributor

Describe the change
This PR adds .NET 8.0 support to the Oracle persistence provider and improves the overall test infrastructure and documentation. The main highlight is the addition of .NET 8.0 compatibility, making the Oracle provider fully supported on the latest .NET version.

Describe your implementation or design

  • Added .NET 8.0 support: Updated the Oracle persistence provider to target .NET 8.0 alongside existing .NET 6.0 support
  • Improved test infrastructure:
    • Added Oracle tests to the GitHub CI/CD pipeline
    • Fixed Oracle tests using TestContainers for reliable containerized testing
    • Added .NET 8.0 test support for Oracle scenarios
  • Enhanced documentation:
    • Improved Oracle persistence README with better usage examples and configuration details
    • Added Oracle as a persistence option to the main project README
  • Code cleanup and maintenance:
    • Removed unnecessary SqlServer package dependencies from Oracle project
    • Cleaned up code files and made minor adjustments for better maintainability

Tests

  • Oracle tests are now included in the GitHub pipeline and run successfully
  • Tests use TestContainers for consistent and reliable Oracle database testing
  • Added .NET 8.0 test support to ensure compatibility across both target frameworks
  • All existing functionality remains intact and tested

Breaking change
No breaking changes. This is a backward-compatible enhancement that adds .NET 8.0 support while maintaining full compatibility with .NET 6.0.

Additional context
The Oracle persistence provider now fully supports the latest .NET 8.0 framework, making it ready for modern .NET applications. The improved test infrastructure ensures reliable testing across different environments, and the enhanced documentation makes it easier for developers to integrate Oracle persistence into their WorkflowCore applications.

@danielgerlag danielgerlag requested a review from Copilot July 31, 2025 17:31
@danielgerlag danielgerlag self-assigned this Jul 31, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds .NET 8.0 support to the Oracle persistence provider and improves the test infrastructure by implementing TestContainers for reliable containerized testing. The changes ensure the Oracle provider works seamlessly with both .NET 6.0 and .NET 8.0, while enhancing the development and testing experience.

  • Adds .NET 8.0 target framework support to Oracle persistence provider and tests
  • Implements TestContainers for Oracle database testing to replace manual setup
  • Removes unused imports and cleans up code across multiple test scenario files

Reviewed Changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
WorkflowCore.Persistence.Oracle.csproj Adds .NET 8.0 target framework and version-specific Entity Framework packages
WorkflowCore.Tests.Oracle.csproj Adds .NET 8.0 support and TestContainers.Oracle package reference
OracleSetup.cs Implements TestContainers-based Oracle database setup replacing manual configuration
Multiple scenario test files Removes unused imports (System, WorkflowCore.Tests.Oracle namespace)
ServiceCollectionExtensions.cs Parameter name correction and unused import cleanup
README files Updates documentation to include Oracle provider and usage examples
GitHub Actions workflow Adds Oracle tests to CI/CD pipeline

… Fixed a word in readme. Added .NET 9.0.x SDK to Oracle-Tests workflow job.
@danielgerlag danielgerlag merged commit 1b81e03 into danielgerlag:master Aug 8, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants